    <?php echo $form->create('User', array('url' => '/profile','type'=>'file')); ?>

        <h3 class="mb10 mt10">ব্যবহারকারী প্রফাইল - <?php echo $this->data['User']['username'] ?></h3>
        <div class="registration commentInput">
            <ul>
                <?php 
                //echo $html->tag('li', $form->input('password',array('label'=>'পাসওয়ার্ড'))); 
                echo $html->tag('li', $form->input('passwd',array('label'=>'পাসওয়ার্ড'))); 
                echo $html->tag('li', $form->input('name', array('label' => 'নাম (বাংলায়)')));
                echo $html->tag('li', $form->input('profile_image', array('type' => 'file','style'=>'margin-left:10px','before'=>'<br /><br />', 'after' =>'<small>&nbsp;(Square Image - Max 220x220)</small><br /><br />')));
                if(isset($this->data['User']['profile_image']))
                    echo $html->tag('li', $html->image('profile_pictures/'.$this->data['User']['profile_image']));
                echo $html->tag('li', $form->input('location', array('label' =>  'অবস্থান')));
                echo $html->tag('li', $form->input('details',array('label' =>  'বিস্তারিত')));
                
                
                ?>
                <!--<li class="address"><?php // echo $this->requestAction('/pages/rules', array('return')); ?></li>-->
                <li><input type="submit" class="submit" value="আপডেট" /></li>
            </ul>
        </div>

    <?php echo $form->end(); ?>
